import request from '../utils/request'

export function getCode(){
    return request({
        url: '/getVerifyCode',
        method: 'post',
    })
}
export function getPublicKey(){
    return request({
        url: '/getPublicKey',
        method: 'get',
    })
}
export function login(data){
    return request({
        url: '/loginAjax',
        method: 'post',
        data
    })
}
export function getMeunList(data){
    return request({
        url: '/menu/getMenuLists',
        method: 'post',
        data,
    })
}